﻿<%@ Assembly Name="MSODev.WSS.EditFldEx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5493916823d95c21" %>
<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="MSODev.WSS.EditFldEx.EditFldExPage" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="Edit Field Properties" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="Edit Field Properties" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">	
	<table border="0" width="100%" cellspacing="0" cellpadding="0">
	    <tr>	
	        <td class='ms-vb2'>Use this page to edit advanced properties of fields. Please exercise caution.</td>
	    </tr>
	    <tr>
	        <td class='ms-vb2'></td>
	    </tr>
	</table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <table border="0" cellpadding="0" cellspacing="0" style="padding: 10px 0px 10px 0px;">
                <tr>
                    <td class="ms-sectionheader" style="width: 60px"><h3 class="ms-standardheader">List</h3></td>
                    <td style="width: 400px;">
                        <asp:DropDownList ID="DDLList" runat="server" CssClass="ms-long" AutoPostBack="true" OnSelectedIndexChanged="DDLList_SelectedIndexChanged"></asp:DropDownList>
                    </td>
                    <td class="ms-sectionheader" style="width: 60px"><h3 class="ms-standardheader">Field</h3></td>
                    <td style="width: 400px;">
                        <asp:DropDownList ID="DDLField" runat="server" CssClass="ms-long" AutoPostBack="true" OnSelectedIndexChanged="DDLField_SelectedIndexChanged"></asp:DropDownList>
                    </td>
                </tr>                
            </table>            
        </tr>
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Title</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">The display name for the field.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding: 0px 0px 10px 20px">
                            <asp:TextBox ID="TxtTitle" runat="server" CssClass="ms-long" MaxLength="255"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Authoring Info</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">The descriptive string that is used in pages for editing fields to identify the field and its purpose.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding: 0px 0px 10px 20px">
                            <asp:TextBox ID="TxtAuthInfo" runat="server" CssClass="ms-long" MaxLength="255"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In Display Form</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in the form for displaying list items.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowDisp" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false"></asp:ListItem>
                                <asp:ListItem Text="Null" Value="null" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In Edit Form</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in the form that is used to edit list items.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowEdit" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false"></asp:ListItem>
                                <asp:ListItem Text="Null" Value="null" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In List Settings</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in the page for customizing list settings.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowListSettings" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false"></asp:ListItem>
                                <asp:ListItem Text="Null" Value="null" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In New Form</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in the form that is used to create list items.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowNew" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false"></asp:ListItem>
                                <asp:ListItem Text="Null" Value="null" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In Version History</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in the page for viewing list item versions.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowVersionHistory" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false" Selected="t></asp:ListItem>                                
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 600px;" style="padding-bottom: 10px;">
                            <table border="0" cellspacing="0" cellpadding="1">
                                <tr>
                                    <td style="height: 28px;" class="ms-sectionheader" valign="top">
                                        <h3 class="ms-standardheader">Show In View Forms</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="ms-descriptiontext">Specifies whether the field is displayed in pages that are used to view list data.</td>
                                </tr>
                            </table>
                        </td>
                        <td class="ms-authoringcontrols" style="padding-left: 10px;">
                            <asp:RadioButtonList ID="RBLShowViewForms" runat="server" CssClass="ms-input" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Yes" Value="true"></asp:ListItem>
                                <asp:ListItem Text="No" Value="false"></asp:ListItem>
                                <asp:ListItem Text="Null" Value="null" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td style="height: 1px" class="ms-sectionline"></td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellspacing="0" cellpadding="0" style="padding-top: 10px;">
                    <colgroup>
                        <col width="99%" />
                        <col width="1%" />
                    </colgroup>
                    <tr>
                        <td>&nbsp;</td>
                        <td style="white-space: nowrap;">
                            <asp:Button ID="BtnOK" runat="server" Text="OK" CssClass="ms-ButtonHeightWidth" OnClick="BtnOK_Click" />
                            <asp:Button ID="BtnCancel" runat="server" Text="Cancel" CssClass="ms-ButtonHeightWidth" OnClick="BtnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>